

	<div class="section-title">Insurance</div>
    
    <div class="section-content">
            <div class="sitemap treeindex">
                <table class="data-table" cellpadding="0" cellspacing="0" width="100%">
                <thead>
                    <tr class="tr-head">
                        <th>Order ID</th>
                        <th>Customer name</th>
                        <th>Insurance ID</th>
                        <th align="right">Insurance %</th>
                        <th align="right">Total</th>
                        <th align="right">Final total</th>
                    </tr>
                </thead>
                <tbody>
        
        <?php
        	
            foreach($listorder as $item)
            {
            	
        ?>
                    <tr>
                        
                        <td><?php echo $item['orderid']?></td>
                        <td><?php echo $item['customername']?></td>
                        <td><?php echo $item['insuranceid']?></td>
                        <td align="right"><?php echo $item['insurancepercent']?>%</td>
                        <td align="right"><?php echo $this->string->numberFormate($item['total'])?></td>
                        <td align="right"><?php echo $this->string->numberFormate($item['insurance'])?></td>
                        
                    </tr>
        <?php
        		
            }
        ?>       
                </tbody>
                <tfoot>
                	<tr>
                    	<td></td>
                        <td></td>
                        <td></td>
                        <td align="right"></td>
                        <td align="right">Insurance total</td>
                        <td align="right"><?php echo $this->string->numberFormate($sum)?></td>
                    </tr>
                </tfoot>
                </table>
            </div>
    </div>
    
